package avicit.bdp.dds.dao.entity;


import avicit.bdp.common.base.BaseDTO;
import avicit.platform6.core.annotation.log.FieldRemark;
import avicit.platform6.core.annotation.log.Id;
import avicit.platform6.core.annotation.log.LogField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;

@ApiModel(value = "DataStat", description = "bdp_dds_stat")
@Table(name = "bdp_dds_stat")
public class DataStat extends BaseDTO {
    /**
     * id
     */
    @Id
    @LogField
    @ApiModelProperty(value = "id", name = "id")
    @FieldRemark(column = "id", field = "id", name = "id")
    @javax.persistence.Id
    @Column(name = "id")
    private String id;

    @LogField
    @ApiModelProperty(value = "统计日期", name = "statDate")
    @FieldRemark(column = "stat_date", field = "statDate", name = "统计日期")
    @Column(name = "stat_date")
    private String statDate;

    @LogField
    @ApiModelProperty(value = "项目ID", name = "projectId")
    @FieldRemark(column = "project_id", field = "projectId", name = "项目ID")
    @Column(name = "project_id")
    private String projectId;

    @LogField
    @ApiModelProperty(value = "实例成功数", name = "successCount")
    @FieldRemark(column = "success_count", field = "successCount", name = "实例成功数")
    @Column(name = "success_count")
    private Integer successCount;

    @LogField
    @ApiModelProperty(value = "实例失败数", name = "failCount")
    @FieldRemark(column = "fail_count", field = "failCount", name = "实例失败数")
    @Column(name = "fail_count")
    private Integer failCount;

    @LogField
    @ApiModelProperty(value = "历史成功平均数", name = "successHistoryCount")
    @FieldRemark(column = "success_history_count", field = "successHistoryCount", name = "历史成功平均数")
    @Column(name = "success_history_count")
    private Integer successHistoryCount;

    @LogField
    @ApiModelProperty(value = "历史失败平均数", name = "failHistoryCount")
    @FieldRemark(column = "fail_history_count", field = "failHistoryCount", name = "历史失败平均数")
    @Column(name = "fail_history_count")
    private Integer failHistoryCount;

    public DataStat() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStatDate() {
        return statDate;
    }

    public void setStatDate(String statDate) {
        this.statDate = statDate;
    }

    public Integer getSuccessCount() {
        return successCount;
    }

    public void setSuccessCount(Integer successCount) {
        this.successCount = successCount;
    }

    public Integer getFailCount() {
        return failCount;
    }

    public void setFailCount(Integer failCount) {
        this.failCount = failCount;
    }

    public Integer getSuccessHistoryCount() {
        return successHistoryCount;
    }

    public void setSuccessHistoryCount(Integer successHistoryCount) {
        this.successHistoryCount = successHistoryCount;
    }

    public Integer getFailHistoryCount() {
        return failHistoryCount;
    }

    public void setFailHistoryCount(Integer failHistoryCount) {
        this.failHistoryCount = failHistoryCount;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }
}
